package com.groupbuying.customer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.customer.dao.CustomerStoreIntegralDao;
import com.groupbuying.customer.domain.CustomerStoreIntegralDO;
import com.groupbuying.customer.service.CustomerStoreIntegralService;



@Service
public class CustomerStoreIntegralServiceImpl implements CustomerStoreIntegralService {
	@Autowired
	private CustomerStoreIntegralDao customerStoreIntegralDao;
	
	@Override
	public CustomerStoreIntegralDO get(String uuid){
		return customerStoreIntegralDao.get(uuid);
	}
	
	@Override
	public List<CustomerStoreIntegralDO> list(Map<String, Object> map){
		return customerStoreIntegralDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return customerStoreIntegralDao.count(map);
	}
	
	@Override
	public int save(CustomerStoreIntegralDO storeIntegral){
		return customerStoreIntegralDao.save(storeIntegral);
	}
	
	@Override
	public int update(CustomerStoreIntegralDO storeIntegral){
		return customerStoreIntegralDao.update(storeIntegral);
	}
	
	@Override
	public int remove(String uuid){
		return customerStoreIntegralDao.remove(uuid);
	}
	
	@Override
	public int batchRemove(String[] uuids){
		return customerStoreIntegralDao.batchRemove(uuids);
	}
	
}
